﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using taigu.WeChat;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace taigu
{
    public interface IAwardsService :IApplicationService
    {
        /// <summary>
        /// 显示
        /// </summary>
        /// <returns></returns>
        Task<List<AwardsDto>> AwardsShow();
        /// <summary>
        /// 分类添加
        /// </summary>
        /// <param name="category"></param>
        /// <returns></returns>
        Task<ResData<string>> AwardsAdd(CreateUpdateAwardsDto awards);
        /// <summary>
        /// 分类删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ResData<string>> AwardsDelete(Guid id);
        /// <summary>
        /// 分类修改
        /// </summary>
        /// <param name="category"></param>
        /// <returns></returns>
        Task<ResData<string>> AwardsUpdate(CreateUpdateAwardsDto awards);
        /// <summary>
        /// 反填方法
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<AwardsDto> AwardsFill(Guid id);
    }
}
